package designPattern.ChainOfResponsibility.adapter;

import designPattern.ChainOfResponsibility.HandlerAdapter;
import designPattern.ChainOfResponsibility.handler.SimpleControllerHandler;

public class SimpleControllerHandlerAdapter implements HandlerAdapter {
	@Override
	public boolean supports(Object handler) {
		return (handler instanceof SimpleControllerHandler);
	}

	@Override
	public void handler() {
		System.out.println("请求交给SimpleControllerHandlerAdapter处理");
	}
}
